from django.urls import re_path

from wepapi import consumers
"""
 uvicorn day2.asgi:application 启动命令
 
"""
websocket_urlpatterns = [
    # 示例 url ： xxxxx/room/x1/
    # re_path(r'room/(?P<group>\w+)/$', consumers.ChatConsumer.as_asgi()),
    re_path(r'room/(?P<group>\w+)/$',consumers.ChatConsumer.as_asgi()),

]
